package com.nodecollege.cloud.common;

import com.nodecollege.cloud.common.model.NCResult;

public enum UpmsErrorEnum {

    NO_LOGIN("1001","未登录");

    private String code;
    private String msg;

    UpmsErrorEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public NCResult error(){
        return NCResult.error(this.code, this.msg);
    }
}
